# encoding: utf-8
""" 
@version: v1.0 
@author: autumner 
@license: Apache Licence  
@contact: 18322313385@163.com 
@site:  https://gitee.com/autumner/pythoncookbook
@software: PyCharm 
@file: net_ssl_flask_server.py 
@time: 2019/7/17 上午9:10
"""
'''
单向认证服务
'''
from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'hello World!'


if __name__ == '__main__':
    app.run(debug=True, ssl_context=('server_cert.pem', 'server_key.pem'))
